<extend name="Layout/index" />
<block name="breadcrumb-01">
	<li>
		<i class="icon-home home-icon"></i>
		<a href="#">首页</a>
	</li>
	<li class="active">角色管理</li>
</block>

<block name="breadcrumb-02">
	<h1>
		角色管理
		<small>
			<i class="icon-double-angle-right"></i>
			 角色列表
		</small>
	</h1>
</block>
<block name="main">

		<table class="table">
			<tr align='left' bgcolor="#ccc">
				<th>ID</th>
				<th>角色名</th>
				<th>说明</th>
				<th>状态</th>
				<th>拥有权限</th>
				<th>操作</th>
			</tr>
			<volist name="list" id="vo">
				<tr>
					<td><{$vo.id}></td>
					<td><{$vo.name}></td>
					<td><{$vo.remark}></td>
					<td><if condition="$vo.status eq 1">启用<else />禁用</if></td>
					<td width=200>
						<volist name="vo.node" id='va'>
							<{$va}>&nbsp;
						</volist>
					</td>
					<td>
						<a href="<{:U('Adminrole/del',array('id'=>$vo['id']))}>">删除</a>
						<a href="<{:U('Adminrole/edit',array('id'=>$vo['id']))}>">修改</a>
						<a href="<{:U('Adminrole/nodelist',array('id'=>$vo['id']))}>">分配权限</a>
					</td>
				</tr>
			</volist>
		</table>
</block>